<?php
class Modulemanager_Data_Insertcontentvalues implements Modulemanager_Data_Mainable{
    
    private $core_controller_data_operation;
    
    public function __construct() {
        $this->core_controller_data_operation = new Core_Controller_Dataoperation;
    }
    
    public function main(array $variables = null) {
        $variables['query'] = "INSERT INTO module_content_values(module_name, module_title, module_description, module_content, module_image) VALUES('".$variables['post']['module_name']."', '".$variables['post']['module_title']."', '".$variables['post']['module_description']."', '".$variables['post']['module_content']."', '".$variables['post']['module_image']."');";
        //echo $variables['query'];
        //die();
        return $this->core_controller_data_operation->main($variables);
    }

}
